Skip to content

Conversation

@erka
Copy link

@erka erka commented Oct 25, 2024

AWS announced that aws-sdk-go v1 entered the maintenance mode and will reach end of support by July 31, 2025. As many Go projects use go-migrate internally they still references the aws-sdk-go v1. Even go-migrate itself has both versions in the go.mod. This PR fixes it.

https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/

related #739

AWS announced that aws-sdk-go v1 entered the maintenance mode and will
reach end of support by July 31, 2025. As many Go projects use
go-migrate internally they still references the aws-sdk-go v1. Even
go-migrate itself has both versions in the go.mod. This PR fixes it.

https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-go-v1-on-july-31-2025/
@erka erka marked this pull request as ready for review October 25, 2024 11:56
@erka
Copy link
Author

erka commented Oct 25, 2024

github.com/snowflakedb/gosnowflake was updated to v1.11.2 in order to resolve this issue.

github.com/aws/aws-sdk-go-v2/feature/s3/[email protected]/download.go:439:27: 
invalid operation: resp.ContentLength > 0 (mismatched types *int64 and untyped int)

config: config,
s3client: s3client,
migrations: source.NewMigrations(),
ctx: ctx,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better off not storing ctx in s3Driver, instead pass it directly to loadMigrations

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your feedback, Philip! I've updated the sources accordingly.

@egor-denysenko
Copy link

egor-denysenko commented Feb 21, 2025

Hey 👋🏻, any update on this?
If it's needed i can help in finishing this out

@coveralls
Copy link

coveralls commented Feb 27, 2025

Coverage Status

coverage: 56.316% (-0.003%) from 56.319%
when pulling 6570b9a on erka:aws-sdk-go-v2
into 9023d66 on golang-migrate:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants